package cn.iocoder.yudao.module.erp.controller.admin.warehouserule.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import com.alibaba.excel.annotation.*;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;

@Schema(description = "管理后台 - ERP 库房规则 Response VO")
@Data
@ExcelIgnoreUnannotated
public class WarehouseRuleRespVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("id")
    private Long id;

    @Schema(description = "规则类型")
    @ExcelProperty(value = "规则类型", converter = DictConvert.class)
    @DictFormat("rule_type") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private String ruleType;

    @Schema(description = "规则")
    @ExcelProperty(value = "规则", converter = DictConvert.class)
    @DictFormat("warehouse_rule") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private String rule;

}